package com.wyq.group12.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName GetController
 * @Description: //TODO 跳转
 * @Author wyq
 * @Date 2022/5/10 13:36
 */
@Controller
public class GetController {
    /**
     * @Description: //TODO 增加/login/login前转方法
     * @Author: wyq
     * @Date 2022/5/10 10:27
     */
    @GetMapping("/login/login")
    public String toLogin() {
        return "login/login";
    }

    @GetMapping("/")
    public String toIndex(){
        return "sm/main";
    }
}
